package io.framework.modules.pollutionsource.dao;

import io.framework.common.dao.BaseDao;
import io.framework.modules.pollutionsource.entity.TBasPollutionEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 污染源监控基本信息
 *
 * @author Gujq email
 * @since 1.0.0 2020-03-24
 */
@Mapper
public interface TBasPollutionDao extends BaseDao<TBasPollutionEntity> {

    List<TBasPollutionEntity> getList(Map<String , Object> params);

    List<TBasPollutionEntity> getListCoordNotNull(Map<String , Object> params);

    List<TBasPollutionEntity> getCoordList(Map<String , Object> params);

    /**
     * 污染源各区情况
     * @return
     */
    List<Map<String,Object>> getRegionCount();

    /**
     * 污染源类型数量
     * @return
     */
    List<Map<String,Object>>  getWryTypeCount();
}